﻿using SRB.Tg.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Teigha.DatabaseServices;

namespace SRB.Tg.Cad
{
    public class SubStructureDrawing
    {
        public void DrawingPile(DataRow row, double selectScale)
        {

            int OverAllScale = (int)selectScale;

            PileInfo P1 = new PileInfo(row);
            Database db = HostApplicationServices.WorkingDatabase;
            P1.DrawingPile(db, OverAllScale);

        }

        public void DrawingPileCap(DataRow row, double selectScale)
        {

            int OverAllScale = (int)selectScale;

            PileCapInfo P1 = new PileCapInfo(row);
            Database db = HostApplicationServices.WorkingDatabase;
            P1.DrawingPileCap(db, OverAllScale);

        }
    }
}
